<template>
  <div>
    <div class="top">
      <p>输入您的位次/分数，意向城市，专业等信息!</p>
      <form >
        <label for="from">生源地
          <select name="" id="" v-model="from">
            <option value="" >安徽</option>
          </select>
        </label>
        <label for="weici">分数
          <input type="text" id="weici" v-model="score"  placeholder="例如：630"><span>必填</span>
        </label>
        <label for="pro">意向专业
          <input type="text" id="pro" v-model="pro" placeholder="例如：计算机科学与技术"><span>可选</span>
        </label>
        <label for="aim" class="aim">目标省份
          <select  id="aim"  v-model="aim">
           <option value="" selected="selected" >安徽</option>
          </select>
        </label>
        <button id="" v-on:click.prevent="handInf()" >提交</button>
      </form>
    </div>
    <div class="inf">

    </div>
  </div>
</template>

<script>
import {request} from '../../../network/axios'
export default {
  name:'Query',
  data(){
    return{
      from:'',
      score:'',
      pro:'',
      aim:''
    }
  },
  methods:{
    //点击提交，然后发送到服务器
    handInf(){
      request({
        
      })
    }
  },
  components:{
    
  },
  created() {
    
  }
}
</script>

<style scoped>
  .top{
    width: 1200px;
    height: 300px;
    padding-top: 40px;
    margin: 80px auto;
    text-align: center;
    border: 1px solid rgba(222, 184, 135, 0.445);
    background-color:rgba(245, 222, 179, 0.438);
    /* background-color: rgb(168, 44, 44); */
  }
  .top>p{
    font-size: 20px;
    color: cornflowerblue;
    margin-bottom: 50px;
  }
  .top>form>label{
    margin: 0 40px;
  }
  .top input{
    width: 200px;
    height: 35px;
    border-radius: 5px;
    border: 1px solid rgb(197, 190, 160);
  }
  .top span{
    font-size: 15px;
    color: red;
  }
  .top select{
    width: 80px;
    border: 1px solid burlywood;
    border-radius: 5px;
  }
  .top button{
    display: block;
    margin: 80px auto;
    width: 150px;
    height: 40px;
    border: 1px solid burlywood;
    border-radius: 5px;
    transition: all ease .5s ;
  }
  .top button:hover{
    transform: scale(1.1);
    background-color: cornflowerblue;
  }
  .aim{
    display: block;
    position: relative;
    left: -387px;
    top: 50px;
    
  }
</style>
